package com.example.server.util;

/**
 * ProjectName: yeb
 * Author: 别怿言
 * Date: 2023-02-10 2:45
 * Description：
 */
public class MailConstants {

    //发送中
    public static final Integer DELIVERING = 0;
    //发送成功
    public static final Integer SUCCESS = 1;
    //发送失败
    public static final Integer FALURE = 2;
    //最大重试次数
    public static final Integer MAX_TRY_COUNT = 3;
    //消息超时时间
    public static final Integer MSG_TIMEOUT = 1;
    //队列
    public static final String MAIL_QUEUE_NAME = "mail.queue";
    //交换机
    public static final String MAIL_EXCHANGE_NAME = "mail.ecchange";
    //路由键
    public static final String MAIL_ROUTING_KEY = "mail.routing.key";

}
